package com.tool.write.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author niuyicong
 * @date 2024/10/18  18:26:40
 * @description
 */
@Getter
@Setter
@AllArgsConstructor
public class PersonIndex {
    @ExcelProperty(value = "姓名", order = 1, index = 0)
    private String name;
    @ExcelProperty(value = "年龄", order = 2, index = 1)
    private Integer age;
    @ExcelProperty(value = "生日", order = 3, index = 3)
    private Date birthDay;
    @ExcelIgnore
    private String gender;
}
